home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aai.d64
/
koala.proc
< prev
next >
Wrap
Text File
|
2007-02-28
|
335b
|
15 lines
9000 //
9010 PROC KOALA(P,REF X,REF Y,REF LB,REF RB) CLOSED
9020 J:=15-PEEK(3-P+56319) MOD 16
9030 LB:=((J MOD 8) DIV 4)>0
9040 RB:=(J DIV 8)>0
9050 POKE 56333,1
9060 D:=PEEK(56322)
9070 POKE 56322,192
9080 POKE 56320,64*P
9090 X:=PEEK(54297)
9100 Y:=255-PEEK(54298)
9110 POKE 56322,D
9120 POKE 56333,129
9130 ENDPROC KOALA